package com.example.high_slope_electronic_sand_table.slopeDisplacement.Enum;

/**
 * 边坡位移监测-表面位移监测-地表沉降告警等级
 */
public enum SurfaceSettlementWarningEnum {
    WARNING_ONE(1,0.3f),
    WARNING_TWO(2,0.2f),
    WARNING_THREE(3,0.1f),
    WARNING_FOUR(4,0.02f);

    private Integer warningLevel; // 告警等级
    private Float value; // 值

    private SurfaceSettlementWarningEnum(int warningLevel, float value) {
        this.warningLevel = warningLevel;
        this.value = value;
    }

    public Integer getWarningLevel() {
        return warningLevel;
    }

    public Float getValue() {
        return value;
    }
}
